package com.example.PDFdemo.pdf;

import com.example.PDFdemo.pdftest.PDFModel;

import java.util.ArrayList;
import java.util.List;

public class Test {

    public static void main(String[] args) throws Exception {
        String oldFile = "C:\\Users\\admin\\Desktop\\test1.pdf";
        String newFile = "C:\\Users\\admin\\Desktop\\test2.pdf";
        List<PDFModel> modules = new ArrayList<>();
        modules.add(new PDFModel("1111111", 119f, 607f, 1, 30f, "Inkfree"));
        modules.add(new PDFModel("3333333", 119f, 607f, 2, 16f, "Inkfree"));
        PDFTool p = new PDFTool();
        PDFTool.addText(oldFile, newFile, modules);
    }

}
